package priv.mill.entry;
import org.apache.log4j.Logger;
import org.springframework.context.annotation.Primary;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Primary
public class House {

	private static final Logger logger = Logger.getLogger(House.class);
	
	private String address;
	
	private double area;

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public double getArea() {
		return area;
	}

	public void setArea(double area) {
		this.area = area;
	}

	@Override
	public String toString() {
		return "House [address=" + address + ", area=" + area + "]";
	}

	public House(String address, double area) {
		super();
		this.address = address;
		this.area = area;
	}

	public House() {
		super();
	}
	
	
}
